<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<TITLE>RAR.ini file</TITLE>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY>

<P class="title">RAR.ini file<hr></P>

<p>If we wish to apply some command line switches by default, we can place
them to rar.ini text file. Such file can be created either in the same folder
as WinRAR.exe or in <a href="HELPAppData.htm">%APPDATA%\WinRAR</a> folder.<p>

<p>This file can contain the following string:</p>

<p>switches=&lt;any RAR switches separated by spaces&gt;</p>

<p>It is also possible to specify separate switch sets for individual WinRAR
commands using the following syntax:</p>

<p>switches_&lt;command&gt;=&lt;any WinRAR switches separated by spaces&gt;</p>

<p>Most of switches specified in rar.ini are used only
in the <a href="HELPCommandLineSyntax.htm">command line mode</a>.
Some switches can be applicable both in shell and in command line modes.</p>

<h1><B>Examples</B></h1>

<ol>
  <li>Apply -m5 -s switches in command line mode by default</li>
</ol>
<blockquote>
  <p class="sample">switches=-m5 -s</p>
</blockquote>
<ol start="2">
  <li>Use -m5 -s switches for "a" command, use -o+ for "x" command.</li>
</ol>
<blockquote>
  <p class="sample">switches_a=-m5 -s</p>
  <p class="sample">switches_x=-o+</p>
</blockquote>

</BODY>
</HTML>
